package com.example.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

/**
 * 巡检任务主表(ps_inspectiontask_main)
 */
@Data
@TableName(value = "ps_inspectiontask_main")
public class PsInspectiontaskMain {
    /**
     * 主键ID
     */
    private Long id;

    /**
     * 主键ID
     */
    private Long psId;

    private String inspectiontaskcode;

    private String inspectiontaskname;

    /**
     * 所属线路ID
     */
    private Long lineid;

    private Integer current;

    private Integer size;

    public Integer getCurrent() {
        return current;
    }

    public void setCurrent(Integer current) {
        this.current = current;
    }

    public Integer getSize() {
        return size;
    }

    public void setSize(Integer size) {
        this.size = size;
    }

    private String linecode;

    private String linename;

    /**
     * 起始杆号ID
     */
    private Long startpole;

    private String startpolecode;

    /**
     * 终止杆号ID
     */
    private Long endpole;

    private String endpolecode;

    private String issuedbycode;

    private String issuedbyname;

    /**
     * 任务下发时间
     */
    private String issuedtime;

    /**
     * 任务状态ID
     */
    private Long taskstatus;

    public String getIssuedtime() {
        return issuedtime;
    }

    public void setIssuedtime(String issuedtime) {
        this.issuedtime = issuedtime;
    }

    public String getFinishtime() {
        return finishtime;
    }

    public void setFinishtime(String finishtime) {
        this.finishtime = finishtime;
    }

    private String taskstatusname;

    /**
     * 任务完成时间
     */
    private String finishtime;

    private String common;

    /**
     * 创建时间
     */
    private Date creationtime;

    private String createdby;

    /**
     * 最后修改时间
     */
    private Date lastupdatetime;

    /**
     * 任务是否取消
     */
    private String iscancel;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getPsId() {
        return psId;
    }

    public void setPsId(Long psId) {
        this.psId = psId;
    }

    public String getInspectiontaskcode() {
        return inspectiontaskcode;
    }

    public void setInspectiontaskcode(String inspectiontaskcode) {
        this.inspectiontaskcode = inspectiontaskcode;
    }

    public String getInspectiontaskname() {
        return inspectiontaskname;
    }

    public void setInspectiontaskname(String inspectiontaskname) {
        this.inspectiontaskname = inspectiontaskname;
    }

    public Long getLineid() {
        return lineid;
    }

    public void setLineid(Long lineid) {
        this.lineid = lineid;
    }

    public String getLinecode() {
        return linecode;
    }

    public void setLinecode(String linecode) {
        this.linecode = linecode;
    }

    public String getLinename() {
        return linename;
    }

    public void setLinename(String linename) {
        this.linename = linename;
    }

    public Long getStartpole() {
        return startpole;
    }

    public void setStartpole(Long startpole) {
        this.startpole = startpole;
    }

    public String getStartpolecode() {
        return startpolecode;
    }

    public void setStartpolecode(String startpolecode) {
        this.startpolecode = startpolecode;
    }

    public Long getEndpole() {
        return endpole;
    }

    public void setEndpole(Long endpole) {
        this.endpole = endpole;
    }

    public String getEndpolecode() {
        return endpolecode;
    }

    public void setEndpolecode(String endpolecode) {
        this.endpolecode = endpolecode;
    }

    public String getIssuedbycode() {
        return issuedbycode;
    }

    public void setIssuedbycode(String issuedbycode) {
        this.issuedbycode = issuedbycode;
    }

    public String getIssuedbyname() {
        return issuedbyname;
    }

    public void setIssuedbyname(String issuedbyname) {
        this.issuedbyname = issuedbyname;
    }

    public Long getTaskstatus() {
        return taskstatus;
    }

    public void setTaskstatus(Long taskstatus) {
        this.taskstatus = taskstatus;
    }

    public String getTaskstatusname() {
        return taskstatusname;
    }

    public void setTaskstatusname(String taskstatusname) {
        this.taskstatusname = taskstatusname;
    }

    public String getCommon() {
        return common;
    }

    public void setCommon(String common) {
        this.common = common;
    }

    public Date getCreationtime() {
        return creationtime;
    }

    public void setCreationtime(Date creationtime) {
        this.creationtime = creationtime;
    }

    public String getCreatedby() {
        return createdby;
    }

    public void setCreatedby(String createdby) {
        this.createdby = createdby;
    }

    public Date getLastupdatetime() {
        return lastupdatetime;
    }

    public void setLastupdatetime(Date lastupdatetime) {
        this.lastupdatetime = lastupdatetime;
    }

    public String getIscancel() {
        return iscancel;
    }

    public void setIscancel(String iscancel) {
        this.iscancel = iscancel;
    }
}